package two_xia.ex9.Demo11;

class TempEmployee extends Employee {
    public TempEmployee(String name, int workHours, double baseSalary) {
        super(name, workHours, baseSalary);
    }

    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
